<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Safari Bugs - HR with id=false</title>
	<script type="text/javascript">

window.onload = function()
{
	document.designMode = 'on' ;

	// This alert is here just to place the focus in the editable document.
	alert( 'Click OK to insert the <hr>' ) ;

	document.execCommand( 'InsertHorizontalRule' ) ;

	alert( 'The resulting HTML is: \n' + document.body.innerHTML + '\nThe desired HTML is:\n<hr />'  ) ;
}

	</script>
</head>
<body>
</body>
</html>
